export const searchForm = [
    {
        type: 'rangePicker',
        key: 'startClassTime',
        label: '开课时间',
        props: {

        }
    },
    // {
    //     type: 'select',
    //     key: 'periodName',
    //     label: '期名',
    //     optionsConfig: {
    //         options: [],
    //         pager: {}
    //     },
    //     props: {
    //         mode: 'multiple'
    //     }
    // }
];

// 页面id
export const pageId = {
    0: {
        id: '',
        title: '短期班行课转化',
        selectID: 'selectUnit_8'
    },
};

// 纬度id由页面id 和 纬度key拼接成, 小驼峰
export const getDimensionId = (index, searchKey) => {
    if (searchKey && pageId[index].id) {
        const newSearchKey = searchKey.slice(0, 1).toUpperCase() + searchKey.slice(1);

        return pageId[index].id + newSearchKey;
    }

    return '';
};

export const PartType = 10;

export const TransformResultUnitId = 'transformationCoursesOnePart_partOne_composite_1';

export const META = {
    PART_FOUR_EXCEL_ONE: 'transformationCoursesFourPart_partOne_excel_1',
    PART_FOUR_EXCEL_TWO: 'transformationCoursesFourPart_partTwo_excel_1',
    PART_FOUR_PIE_ONE: 'transformationCoursesFourPart_partOne_pie_1',
    PART_FOUR_COMPOSITE_ONE: 'transformationCoursesFourPart_partOne_composite_1'
};
